class BaseRepository():
	
	def getDatabase(self):
		try:
			return self.db_name
		except:
			print "Database Error"

	def setDatabase(self, db_name):
		try:
			if not self.db_name: 
				raise "Provide Database Name"
			else:
				self.db_name = db_name
		except Exception as e:
			print "Database Error", e

	def getTable(self):
		try:
			return self.table_name
		except Exception as e:
			print "Table Error", e

	def setTable(self):
		try:
			if not self.table_name:
				raise "Provide Table Name"
			return table_name
		except Exception as e:
			print "Table Error", e

	def save(self,entity):
		pass	

	def retrieve(self):
		pass

	def delete(self, entity):
		pass

